package com.youi.entity;

import java.util.Date;
import java.sql.*;


import java.io.Serializable;


/**
 * 管理员角色
 * @author XJY
 */
public class Sysrole implements Serializable {

	private Long id;							//ID
	private Date gmtCreated;					//创建时间
	private Integer delStatus;					//删除状态(0否 1是)
	private Date gmtModify;						//最后修改时间
	private Integer type;						//角色类型(0平台 1商家)
	private Long merchantId;					//商家id
	private String name;						//角色名称
	private String pms;							//角色权限

    public Sysrole(){

    }

    public Sysrole(Long id,Date gmtCreated,Integer delStatus,Date gmtModify) {
       this.id=id;
       this.gmtCreated=gmtCreated;
       this.delStatus=delStatus;
       this.gmtModify=gmtModify;
    }


    public Sysrole(Long id,Date gmtCreated,Integer delStatus,Date gmtModify,String name,String pms) {
       this.id=id;
       this.gmtCreated=gmtCreated;
       this.delStatus=delStatus;
       this.gmtModify=gmtModify;
       this.name=name;
       this.pms=pms;
    }


	public void setId(Long id){
		this.id=id;
	}

	public Long getId(){
		return id;
	}

	public void setGmtCreated(Date gmtCreated){
		this.gmtCreated=gmtCreated;
	}

	public Date getGmtCreated(){
		return gmtCreated;
	}

	public void setDelStatus(Integer delStatus){
		this.delStatus=delStatus;
	}

	public Integer getDelStatus(){
		return delStatus;
	}

	public void setGmtModify(Date gmtModify){
		this.gmtModify=gmtModify;
	}

	public Date getGmtModify(){
		return gmtModify;
	}

	public void setName(String name){
		this.name=name;
	}

	public String getName(){
		return name;
	}

	public String getPms() {
		return pms;
	}

	public void setPms(String pms) {
		this.pms = pms;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public Long getMerchantId() {
		return merchantId;
	}

	public void setMerchantId(Long merchantId) {
		this.merchantId = merchantId;
	}


}
